/**
 * Author: Daniel Michalski
 * Date: 28.02.13
 */

public class Main {
    public static void main(String[] args) {
        Integer inums[] = { 3, 6, 2, 8, 6 };
        Character chs[] = { 'b', 'r', 'p', 'w' };

        MyClass<Integer> iob = new MyClass<Integer>(inums);
        MyClass<Character> cob = new MyClass<Character>(chs);

        System.out.println("Maksymalna wartość w inums: " + iob.max());
        System.out.println("Minimalna wartość w inums: " + iob.min());

        System.out.println("Maksymalna wartość w chs: " + cob.max());
        System.out.println("Minimalna wartość w chs: " + cob.min());

    }
}
